# VRJ.NET is (C) Copyright 2004-2007 by Patrick Hartling
# Distributed under the GNU Lesser General Public License 2.1.  (See
# accompanying file COPYING.txt or http://www.gnu.org/copyleft/lesser.txt)

srcdir=		@srcdir@
top_srcdir=	@top_srcdir@

EXTRA_CXXFLAGS=	@VRJ_CXXFLAGS@ @CLI_CFLAGS@
EXTRA_INCLUDES=	-I$(top_srcdir)/src -I$(topdir)/include
EXTRA_LDFLAGS=	$(UTIL_LIB) @CLI_LDFLAGS@ @CLI_LIBS@ @VRJ_LIBS_CC@	\
		@VRJ_EXTRA_LIBS_CC@					\
		$(NULL)
MOD_NAME=	vrj

DLL_DEPS=	$(topdir)/lib/@LIB_PREFIX@vrjnet_util.@STATICLIB_EXT@

SRCS=		vrj_App.cpp		\
		vrj_Display.cpp		\
		vrj_DrawManager.cpp	\
		vrj_GlApp.cpp		\
		vrj_Kernel.cpp		\
		vrj_SoundManager.cpp	\
		vrj_User.cpp

ifeq ($(BUILD_TYPE), DEBUG)
   UTIL_LIB=	@VRJNET_UTIL_LDFLAGS_DBG@
else
   UTIL_LIB=	@VRJNET_UTIL_LDFLAGS_OPT@
endif

include ../common-cxx.mk
